<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<style type="text/css">
			*{
				padding: 0;
				margin: 0;
			}
			div{
				width: 100px;
				height: 100px;
				background-color: blue;
				/*display: none;*/
			}
		</style>
		<title></title>
		<script type="text/javascript" src="js/jquery-1.11.1.min.js">
			
		</script>
		<script>
			$(function(){
				$("input").click(function(){
			      //检测 盒子是否显示
//                console.log( $(".hehe").is(":visible") );
         
       			 //检测 盒子是否处于动画状态 
                 console.log( $(".hehe").fadeOut(1000).is(":animated") );
                  
				})
			})
		</script>
	</head>
	<body>
		<input type="button" value="点我啊" />
		
		<div class="hehe"></div>
	</body>
</html>
